class Shape{
    public void draw(){
        System.out.println("画图形");
    }
}
class Cycle extends Shape{
    @Override
    public void draw() {
        System.out.println("圆形");
    }
}
class Flower extends Shape{
    @Override
    public void draw() {
        System.out.println("❀");
    }
}
class Triangle extends Shape{
    @Override
    public void draw() {
        System.out.println("三角形");
    }
}
public class demo {
    public static void drawMap(Shape shape){
        shape.draw();
    }

    public static void main(String[] args) {
       Cycle cycle = new Cycle();
       Flower flower = new Flower();
       Triangle triangle = new Triangle();
       drawMap(cycle);
    }
}
